package com.zjp.strategy.impl;

import com.zjp.strategy.BaseStrategy;
import com.zjp.strategy.Strategy;
import org.springframework.stereotype.Service;

@Service
public class AddStrategyImpl extends BaseStrategy implements Strategy {
    @Override
    public int intOperation(int num1, int num2) {
        checkMinNum(num1, num2);
        return num1 + num2;
    }
}
